package cn.itsource.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

@Data
public class Teacher {
    private Long id;
    //老师名
    @Excel(name = "姓名",width = 20)
    private String name;
    //年龄
    @Excel(name = "年龄",width = 20)
    private Integer age;
    //性别
    @Excel(name = "性别",replace = { "男_true", "女_false" },width = 20)
    private Boolean sex;
    //岗位
    @Excel(name = "岗位",width = 20)
    private String position;
    //学科
    @Excel(name = "学科",width = 20)
    private String subject;

}
